finish
Collect to completion and return the final typed object plus the call's terminal metadata (usage, finishReason, warnings, response) — the awaitable side of the v6 StreamObjectResult. The complete text is decoded once at the end; if that fails and a repairText hook is set, the repaired text is retried. Throws NoObjectGeneratedError (carrying the raw text) if neither parses.